<template>
  <div class="myheader">
    <img src="@/assets/img/cons.png">
    <h3>
      <slot></slot>
    </h3>
  </div>
</template>
<script>
export default {
  name: 'myheader'
}
</script>
<style lang="less" scoped>
.myheader {
  width: 100%;
  height: 46px;
  text-align: center;
  line-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e47e93;
  color: #fff;
  font-size: 16px;
  img {
    display: inline-block;
    width: 24px;
    height: 24px;
  }
  h3 {
    margin-left: 5px;
    display: inline-block;
    font-weight: 400;
  }
}
</style>
